import 'package:flutter/material.dart';
import '/utils/setting.dart';

// 封装边框占位，比如高度为8的盒子长条，目前只封装水平方向的
class BorderBox extends StatelessWidget {
  final double? height;
  final Color? color;
  const BorderBox({
    super.key,
    this.height = 10,
    this.color = DefaultColor.primary,
  });

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 10,  // 高度可以根据需要调整
      color: color,  // 灰色背景
    );
  }
}
